@extends('layout/header')
@section('headcss')
    @stop
@section('content')
    <div id="content">
        <div class="mb container"><a href="/">首页</a><span>></span><span class="red">我要寻人</span></div>
        <div class="form container">
            <div class="form-t">基本资料</div>
            <form action="/dofbxr" method="post" enctype="multipart/form-data" id="fbxr">
                <?php echo method_field('POST'); ?>
                <?php echo csrf_field(); ?>
            <dl class="clearfix">
                <dd class="clearfix">
                    <div class="label fl"> 编号：</div>
                    <div class="fl">
                        <input id="code" name="code" type="text" value="{{$code_nums}}"  readonly="readonly"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 失踪人姓名：</div>
                    <div class="fl">
                        <input id="miss_name" name="miss_name" type="text" value=""/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 失踪人性别：</div>
                    <div class="fl">
                        <input id="miss_sex" name="miss_sex" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 家庭住址：</div>
                    <div class="fl">
                        <input id="miss_home" name="miss_home" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 出生日期：</div>
                    <div class="fl">
                        <input id="miss_brath" name="miss_barth" ype="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 失踪时身高：</div>
                    <div class="fl">
                        <input id="miss_high" name="miss_high" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 失踪日期：</div>
                    <div class="fl">
                        <input id="miss_date" name="miss_date" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 失踪地点：</div>
                    <div class="fl">
                        <input id="miss_access" name="miss_access" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 可能去何处：</div>
                    <div class="fl">
                        <input id="maybe_access" name="maybe_access" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix">
                    <div class="label fl"> 酬金数额：：</div>
                    <div class="fl">
                        <input id="miss_money" name="miss_money" type="text"/>
                    </div>
                </dd>
                <dd>
                    <div class="label fl"> 寻人类别：</div>
                        <select id="find_type" name="find_type">
                            <option value="1">寻找老友</option>
                            <option value="2">寻找战友</option>
                            <option value="3">家人寻亲人</option>
                            <option value="4">亲人寻家</option>
                            <option value="5">台海寻人</option>
                            <option value="6">海外寻亲</option>
                        </select>
                </dd>
                <dd>
                    <div class="label fl"> 归属地区：</div>
                    <select id="find_area" name="find_area">
                        @foreach($areaarray as $v)
                            <option value="{{$v->Id}}">{{$v->Name}}</option>
                            @endforeach
                    </select>
                </dd>
                <dd>
                    <div class="label fl"> 失踪人照片：</div>
                    <div class="fl">
                        <input name="miss_pic" type="file"/>
                    </div>
                </dd>
            </dl>
            <div class="li clearfix">
                <div class="label fl">失踪人特征：</div>
                <div class="fl">
                    <textarea id="miss_face" name="miss_face" cols="30" rows="10"></textarea>
                </div>
            </div>
            <div class="li clearfix">
                <div class="label fl">失踪的经过：</div>
                <div class="fl">
                    <textarea id="miss_experience" name="miss_experience" cols="30" rows="10"></textarea>
                </div>
            </div>
            <div class="li clearfix">
                <div class="label fl">其他的描述：</div>
                <div class="fl">
                    <textarea id="others" name="others" cols="30" rows="10"></textarea>
                </div>
            </div>
            <div class="form-t">联系人信息</div>
            <dl class="clearfix">
                <dd class="clearfix" style="width:25%">
                    <div class="label fl" style="text-align:left;text-indent:10px;width:60px"> 姓名：</div>
                    <div class="fr">
                        <input id="contact_name" name="contact_name" class="fr" type="text" style="width:150px"/>
                    </div>
                </dd>
                <dd class="clearfix" style="width:25%">
                    <div class="label fl" style="text-align:left;text-indent:10px;"> 联系方式：</div>
                    <div class="fr">
                        <input id="contact_phone" name="contact_phone" class="fr" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix" style="width:25%">
                    <div class="label fl" style="text-align:left;text-indent:10px;"> QQ/微信：</div>
                    <div class="fr">
                        <input id="contact_net" name="contact_net" class="fr" type="text"/>
                    </div>
                </dd>
                <dd class="clearfix" style="width:25%">
                    <div class="label fl" style="text-align:left;text-indent:10px;"> 电子邮箱：</div>
                    <div class="fr">
                        <input id="contact_email" name="contact_email" class="fr" type="text"/>
                    </div>
                </dd>
            </dl>
            <div class="li">
                <div class="label fl" style="width:100%;text-align:left">备注内容：（是否要加急寻人或者特殊需求）</div>
                <textarea name="contact_other" cols="30" rows="10" style="width:100%"></textarea>
            </div>
            <input class="submit" type="button" id="send" value="我要发布"/>
            </form>
        </div>
    </div>
    @stop
@section('js')
<script src="{{ URL::asset('js/fbxr.js')}}"></script>
    @stop
